import datetime
from math import sqrt
from collections import defaultdict

# 实例11
# def f(n):
#     if n<=2:
#         return 1
#     return f(n-1)+f(n-2)
# 实例12
# def is_sushu(n):
#     x=int(sqrt(n))
#     for i in range(2,x+1):
#         if n%i==0:
#             return False
#     return True
# 实例13
# def is_shuixianhua(n):
#     s=str(n)
#     return n==sum([int(i)**3 for i in s])
# for i in range(100,1000):
#     if is_shuixianhua(i):
#         print(i)
# 实例14
# def 质因数分解(n):
#     ans=[]
#     for i in range(2,int(sqrt(n))+1):
#         while n%i==0:
#             ans.append(i)
#             n//=i
#     if n>1:
#         ans.append(n)
#     return ans
# # 实例15
# score = int(input())
# grade = 'A' if score >= 90 else 'B' if score >= 80 else 'C'
#实例16
# print(datetime.date.today().strftime('%Y-%m-%d'))
# 实例17
# dic=defaultdict(int)
# a=input()
# for i in a:
#     if '0'<=i<='9':
#         dic['数字']+=1
#     elif 'a'<=i<='z':
#         dic['小写字母']+=1
#     elif 'A'<=i<='Z':
#         dic['大写字母']+=1
#     elif i==' ':
#         dic['空格']+=1
#     else:
#         dic['其他']+=1
#实例18
# n=int(input())
# m=int(input())
# ans=0
# k=n
# for i in range(1,m+1):
#     ans+=n
#     n=n+k*(10**i)
#     print(n)
#
# print(ans)
# 实例19
# n=int(input())
# ans=0
# for i in range(1,int(sqrt(n))+1):
#     if n%i==0:
#         ans+=i
#         if i!=n//i:
#             ans+=n//i
# ans-=n
# print(ans)
# print(ans==n)
#100 50 50 25 25 12.5 12.5 6.25
# 实例20
ans=100
lst=ans
for i in range(10):
    if i<9:
        ans+=lst
    lst/=2
print(ans,lst)